package com.gitee.alpha.ie.sys.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Data;

/**
 * 用户实体<br />
 *
 * @author  冰羽
 * @date    2021-07-12 01:16:12
 * @since   2.4.5
 * @version 2.4.5
 */
@Data
@Entity
@Table(name = "t_user")
public class User extends com.gitee.alpha.framework.entity.base.snowflake.AbstractIdEntity {

  /** 账号 */
  @Column(name = "USERNAME", nullable = false)
  private String username;

  /** 密码 */
  @Column(name = "PASSWORD", nullable = false)
  private String password;

  /** 性别 */
  @Column(name = "SEX")
  private com.gitee.alpha.framework.core.dict.EnumEntry sex;

  /** 年龄 */
  @Column(name = "AGE")
  private Byte age;

  /** 生日 */
  @Column(name = "BIRTHDAY")
  private java.sql.Timestamp birthday;

}